package main

import (
	"gitee.com/lyhuilin/tbkmaterial"
)

func main() {
	var m tbkmaterial.MaterialList

	// 618节榜单使用说明
	// 【物料精选API】天猫618预售大库   material_id：26257
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "618节榜单",
		Id:           "26257",
		Name:         "天猫618预售大库",
		TotalResults: 10000,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "618节榜单",
		Id:           "29276",
		Name:         "天猫现货大库",
		TotalResults: 1000,
	})
	// https://market.m.taobao.com/app/qn/toutiao-new/index-pc.html?spm=a219t.11816995.1998910419.d1856e3ff.2a8f75a5iOoRx6#/detail/10628875?_k=lmtens
	// 官方提供的物料id
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "聚划算",
		Id:           "32366",
		Name:         "聚划算满减满折",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "猫超",
		Id:           "27160",
		Name:         "猫超满减满折",
		TotalResults: 200,
	})
	// 【好券直播】
	// 特色：数据源同联盟app的好券直播。小时计更新，展示联盟高佣优质商品库中的领券热门商品。
	// 数量：每个material_id 同时产出200款商品
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "好券直播",
		Id:           "3756",
		Name:         "综合",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "好券直播",
		Id:           "3767",
		Name:         "女装",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "好券直播",
		Id:           "3758",
		Name:         "家居家装",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "好券直播",
		Id:           "3759",
		Name:         "数码家电",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "好券直播",
		Id:           "3762",
		Name:         "鞋包配饰",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "好券直播",
		Id:           "3763",
		Name:         "美妆个护",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "好券直播",
		Id:           "3764",
		Name:         "男装",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "好券直播",
		Id:           "3765",
		Name:         "内衣",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "好券直播",
		Id:           "3760",
		Name:         "母婴",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "好券直播",
		Id:           "3761",
		Name:         "食品",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "好券直播",
		Id:           "3766",
		Name:         "运动户外",
		TotalResults: 200,
	})
	// 1、【实时热销榜】
	// 特色：淘客渠道每日实时热销爆款，官方数据实时更新。
	// 数量：每个material_id 同时产出500款商品
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "实时热销榜",
		Id:           "28026",
		Name:         "综合",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "实时热销榜",
		Id:           "28029",
		Name:         "大服饰",
		TotalResults: 500,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "实时热销榜",
		Id:           "28027",
		Name:         "大快消",
		TotalResults: 500,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "实时热销榜",
		Id:           "28028",
		Name:         "电器美家",
		TotalResults: 500,
	})
	// 【本地化生活】
	// 特色:外卖红包，飞猪网红酒店/自助餐/亲子门票等，电影代金券，优酷视频会员，体检/口腔检查/医美，阿里汽车，必胜客肯德基等套餐这儿都有哦～
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "本地化生活",
		Id:           "30443",
		Name:         "今日爆款(综合类目)",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "本地化生活",
		Id:           "19812",
		Name:         "淘票票(电影代金券)",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "本地化生活",
		Id:           "25378",
		Name:         "大麦网(演出/演唱会/剧目/会展)",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "本地化生活",
		Id:           "28636",
		Name:         "优酷会员(视频年卡)",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "本地化生活",
		Id:           "29105",
		Name:         "有声内容(喜马拉雅年卡，儿童节目等)",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "本地化生活",
		Id:           "25885",
		Name:         "阿里健康(hpv疫苗预约)",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "本地化生活",
		Id:           "25886",
		Name:         "阿里健康(体检)",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "本地化生活",
		Id:           "25888",
		Name:         "阿里健康(口腔)",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "本地化生活",
		Id:           "25890",
		Name:         "阿里健康(基因检测)",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "本地化生活",
		Id:           "26077",
		Name:         "飞猪(签证)",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "本地化生活",
		Id:           "27913",
		Name:         "飞猪(酒店)",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "本地化生活",
		Id:           "27914",
		Name:         "飞猪(自助餐)",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "本地化生活",
		Id:           "19811",
		Name:         "飞猪(门票)",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "本地化生活",
		Id:           "19810",
		Name:         "口碑(肯德基/必胜客/麦当劳)",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "本地化生活",
		Id:           "19814",
		Name:         "天猫无忧购(家政服务)",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "本地化生活",
		Id:           "28397",
		Name:         "汽车定金(汽车定金)",
		TotalResults: 200,
	})
	// 【大额券】
	// 介绍:大面额折扣超高佣金，每单赚更多
	// 消费者端页面链接：
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "大额券",
		Id:           "27446",
		Name:         "综合",
		TotalResults: 500,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "大额券",
		Id:           "27448",
		Name:         "女装",
		TotalResults: 500,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "大额券",
		Id:           "27451",
		Name:         "食品",
		TotalResults: 500,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "大额券",
		Id:           "27453",
		Name:         "美妆个护",
		TotalResults: 500,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "大额券",
		Id:           "27798",
		Name:         "家居家装",
		TotalResults: 500,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "大额券",
		Id:           "27454",
		Name:         "母婴",
		TotalResults: 500,
	})
	// 3、【高佣榜】
	// 特色：联盟精品商品库中的高佣商品，佣金最高达90%，按天更新。
	// 数量：每个material_id 同时产出500款商品
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "高佣榜",
		Id:           "13366",
		Name:         "综合",
		TotalResults: 500,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "高佣榜",
		Id:           "13367",
		Name:         "女装",
		TotalResults: 500,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "高佣榜",
		Id:           "13368",
		Name:         "家居家装",
		TotalResults: 500,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "高佣榜",
		Id:           "13369",
		Name:         "数码家电",
		TotalResults: 500,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "高佣榜",
		Id:           "13370",
		Name:         "鞋包配饰",
		TotalResults: 500,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "高佣榜",
		Id:           "13371",
		Name:         "美妆个护",
		TotalResults: 500,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "高佣榜",
		Id:           "13372",
		Name:         "男装",
		TotalResults: 500,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "好券直播",
		Id:           "13373",
		Name:         "内衣",
		TotalResults: 500,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "高佣榜",
		Id:           "13374",
		Name:         "母婴",
		TotalResults: 500,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "高佣榜",
		Id:           "13375",
		Name:         "食品",
		TotalResults: 500,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "高佣榜",
		Id:           "13376",
		Name:         "运动户外",
		TotalResults: 500,
	})
	// 【品牌券】
	// 特色：综合品牌、佣金和券因素的优质商品
	// 数量：每个material_id 同时产出200款商品
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "品牌券",
		Id:           "3786",
		Name:         "综合",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "品牌券",
		Id:           "3788",
		Name:         "女装",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "品牌券",
		Id:           "3792",
		Name:         "家居家装",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "品牌券",
		Id:           "3793",
		Name:         "数码家电",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "品牌券",
		Id:           "3796",
		Name:         "鞋包配饰",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "品牌券",
		Id:           "3794",
		Name:         "美妆个护",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "品牌券",
		Id:           "3790",
		Name:         "男装",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "品牌券",
		Id:           "3787",
		Name:         "内衣",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "品牌券",
		Id:           "3789",
		Name:         "母婴",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "品牌券",
		Id:           "3791",
		Name:         "食品",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "品牌券",
		Id:           "3795",
		Name:         "运动户外",
		TotalResults: 200,
	})
	// 【猫超优质爆款】
	// 特色：精选天猫超市适合淘客推广单品爆款。
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "猫超优质爆款",
		Id:           "27162",
		Name:         "猫超1元购凑单",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "猫超优质爆款",
		Id:           "27161",
		Name:         "猫超第二件0元",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "猫超优质爆款",
		Id:           "27160",
		Name:         "猫超单件满减包邮",
		TotalResults: 200,
	})
	// 【聚划算单品爆款】 （2020年4月25日起暂定使用，升级之后重新开放！）
	// 特色：精选聚划算适合淘客推广单品爆款，包含单品团爆款，支持提前获取商品活动活动利益点预热。
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "聚划算单品爆款",
		Id:           "31371",
		Name:         "开团热卖中",
		TotalResults: 200,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "聚划算单品爆款",
		Id:           "31370",
		Name:         "预热",
		TotalResults: 200,
	})
	// 【天天特卖】
	// 特色：低价好货，工厂产业带爆款！
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "天天特卖",
		Id:           "31362",
		Name:         "开团热卖中",
		TotalResults: 200,
	})
	// 【母婴主题】
	// 特色：定位在母婴市场，围绕从备孕到儿童不同阶段对商品的诉求提供商品库。适用于母亲节、520、61儿童节等母婴主题节气，也适用于母婴类网站选品需求。
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "母婴主题",
		Id:           "4040",
		Name:         "母婴_备孕",
		TotalResults: 1000,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "母婴主题",
		Id:           "4041",
		Name:         "母婴_0至6个月",
		TotalResults: 1000,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "母婴主题",
		Id:           "4044",
		Name:         "母婴_4至6岁",
		TotalResults: 1000,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "母婴主题",
		Id:           "4042",
		Name:         "母婴_7至12个月",
		TotalResults: 1000,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "母婴主题",
		Id:           "4043",
		Name:         "母婴_1至3岁",
		TotalResults: 1000,
	})
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "母婴主题",
		Id:           "4045",
		Name:         "母婴_7至12岁",
		TotalResults: 1000,
	})
	// 【有好货】
	// 特色：商品本身是受欢迎的品质好货，淘宝有好货的产品心智
	// 数量：每个material_id 同时产出1000款商品
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "有好货",
		Id:           "4092",
		Name:         "有好货",
		TotalResults: 1000,
	})
	// 【潮流范】
	// 特色：代表当下时尚和流行趋势的商品，商品调性类似淘宝ifashion、潮电街、酷动城
	// 数量：每个material_id 同时产出1000款商品
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "潮流范",
		Id:           "4093",
		Name:         "潮流范",
		TotalResults: 1000,
	})
	// 【特惠】
	// 特色：优质特惠宝贝。 优先考虑销量高, 评价高,点击转化好, 创意具有吸引力的优质低价宝贝，以及30天的历史新低宝贝, 覆盖了手淘主要特惠场景的优质宝贝.
	m.AddItem(tbkmaterial.MaterialItem{
		CatName:      "特惠",
		Id:           "4094",
		Name:         "特惠",
		TotalResults: 1000,
	})
	//
	//
	//
	//
	//

	m.WriteToFile("material_id.json")
}
